﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace gpao2012
{
    public partial class cataloguetemps : DevExpress.XtraEditors.XtraUserControl
    {
        public cataloguetemps()
        {
            InitializeComponent();
        }

        private void cataloguetemps_Load(object sender, EventArgs e)
        {
            MessageBox.Show("Hello world !");
      
        }

        private void simpleButton2_Click(object sender, EventArgs e)
        {
            if (textEdit1.Text == "")
            { textEdit1.BackColor = Color.LightPink; }

            if (textEdit2.Text == "")
            { textEdit2.BackColor = Color.LightPink; }

            if (textEdit3.Text == "")
            { textEdit3.BackColor = Color.LightPink; }

            if (textEdit4.Text == "")
            { textEdit4.BackColor = Color.LightPink; }

            if (textEdit5.Text == "")
            { textEdit5.BackColor = Color.LightPink; }

            if (textEdit6.Text == "")
            { textEdit6.BackColor = Color.LightPink; }
        }
    }
}